package org.kjtc.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.kjtc.entity.UserInfo;

import java.util.List;

/**
 * Created by Administrator on 2017/11/30 0030.
 */
@Mapper
public interface LoginMapper {

    @Select("select userid,username from userinfo where userId=#{userName}")
    List<UserInfo> toIndex(String userName);
}
